package com.dynamictpm.listener;

import java.util.concurrent.Executor;

/**
 * 描述：： 监听器接口
 * <p>
 * ------------------------------------
 *
 * @program: dynamic-tpm
 * @ClassName Listener
 * @author: it-yml
 * @create: 2023-07-04 21:27
 * @Version 1.0
 * --------------------------------------
 **/
public interface Listener {
    /**
     * 获取执行器
     *
     * @return
     */
    Executor getExecutor();

    /**
     * 接受配置信息
     *
     * @param configInfo
     */
    void receiveConfigInfo(String configInfo);
}
